home *** CD-ROM | disk | FTP | other *** search
- This package was originally came with uudecode and uuencode programs which
- make a binary file into ASCII. These have been replaced with atob and
- btoa binaries. Only the source to the above two is included for those who
- want to have them.
-
- ----
-
- Path: uunet!rs
- From: rs@uunet.UU.NET (Rich Salz)
- Newsgroups: comp.sources.unix
- Subject: v10i031: DES encryption routines and a login front-end
- Message-ID: <523@uunet.UU.NET>
- Date: 2 Jul 87 03:04:55 GMT
- Organization: UUNET Communications Services, Arlington, VA
- Lines: 1781
- Approved: rs@uunet.uu.net
-
- Mod.Sources: Volume 10, Number 31
- Submitted by: Bdale Garbee <winfree!bdale>
- Archive-name: des
-
- [ Those of you who have a copy of the Volume 6 posting should consider
- this a replacement for it. Those of you concerned about the legality
- of posting this, don't be --r$ ]
-
- Rich - Here is an updated copy of the DES routines shar file. Phil found
- and fixed a bug in the main.c module that caused the DES program to
- occasionally mutilate keys resulting in un-decodable files. He also has
- now included uuencode and uudecode routines, which are helpful for creating
- filters into and out of mail systems... since many mailers don't deal with
- 8-bit data.
-
- Regards,
-
- Bdale Garbee, N3EUA phone: 303/593-9828 h, 303/590-2868 w
- uucp: {bellcore,crash,hp-lsd,hpcsma,ncc,pitt,usafa,vixie}!winfree!bdale
- fido: sysop of 128/19 packet: n3eua @ k0hoa, Colorado Springs
-
- - - - - - - - - - -
-
- This package contains a DES subroutine library based on the original public
- domain code by James Gillogly, but made faster and more flexible. Commands
- using this library have been added for testing and for encrypting and
- decrypting files (compatible with the DES command under Sun UNIX), among
- other things.
-
- Run make. That will compile everything and run test data (from the NBS
- certification suite) through it. It runs as-is under UNIX. It will run
- under MS-DOS with a few minor changes: make sure you define LITTLE_ENDIAN
- when compiling des.c, and change the name of the console in getpass.c. If
- you have the byte order flag set wrong, you will get ENCRYPT FAIL messages
- when the descert test is run.
-
- radlogin.c is an experimental program for secure UNIX login via insecure
- channels (like amateur packet radio). Make it and set it up as the login
- shell for a special, password-free login (e.g., "radio"). When it starts the
- user will be asked his REAL login name, which is then looked up in
- /etc/rkeys. (This file must be read protected since it contains DES keys).
- The time of day is then printed in hex as a challenge. The user must encrypt
- it using DES and his key and type the answer back. The user may use the
- program "descalc" to perform his local calculation. All this is very clumsy;
- it works, but after all it's only experimental.
-
- Phil Karn, KA9Q
- bellcore!karn aka karn@flash.bellcore.com
-
- - - - - -
- Subject: Re: rkeys file
-
- rkeys:
- karn 0123456789abcdef
- uid des_key_in_hex
-
- - - - - -